<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let arr = [10, 30, 4]
    let flag = arr.some(function (v) {
      return v < 3
    })
    console.log(flag)
    let arr1 = ['red', 'pink', 'blue'];
    let flag1 = arr1.some(function (v) {
      return v == 'pink'
    })
    console.log(flag1);
  </script>
</body>

</html>